package com.atgm.mall.gmmailproduct.feign.fallback;

import com.atgm.common.utils.R;
import com.atgm.mall.gmmailproduct.feign.SeckillFeignService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Slf4j
@Component
public class SeckillFallbackService implements SeckillFeignService {

    @Override
    public R getSkuSeckilInfo(Long skuId) {
        log.info("gm-mall-seckill服务出现错误,产生回调");
        return R.error();
    }
}
